body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #212529;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
.header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}
.logo {
    height: 60px;
    margin-right: 20px;
}
h1 {
    color: #4361EE;
    margin: 0;
}
.status {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f1f3f5;
    border-radius: 4px;
}
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #dc3545;
}
.status-indicator.connected {
    background-color: #4CC38A;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}
textarea {
    min-height: 100px;
    font-family: 'Consolas', monospace;
}
button {
    background-color: #4361EE;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}
button:hover {
    background-color: #3A56D4;
}
button:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}
.response {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #4361EE;
}
.response pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Consolas', monospace;
    font-size: 14px;
}
.error {
    color: #dc3545;
    margin-top: 5px;
    font-size: 14px;
}
/* ========== 新增自index.html的样式 ========== */
.main-layout { display: flex; gap: 24px; }
.sidebar { width: 220px; background: #f8f9fa; border-radius: 8px; padding: 16px; box-sizing: border-box; }
.sidebar h2 { font-size: 16px; color: #4361EE; margin: 0 0 10px 0; }
.action-group { margin-bottom: 18px; }
.action-list { list-style: none; padding: 0; margin: 0; }
.action-list li { margin-bottom: 6px; }
.action-btn { width: 100%; text-align: left; background: none; border: none; color: #495057; padding: 7px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; transition: background .2s; }
.action-btn.selected, .action-btn:hover { background: #e9ecef; color: #4361EE; }
.content-area { flex: 1; }
.param-toolbar { display: flex; gap: 10px; margin-bottom: 8px; }
.copy-btn { background: #e9ecef; color: #495057; border: none; border-radius: 4px; padding: 5px 10px; cursor: pointer; font-size: 13px; }
.copy-btn:hover { background: #dbeafe; color: #4361EE; }
.restore-btn { background: #f1f3f5; color: #495057; border: none; border-radius: 4px; padding: 5px 10px; cursor: pointer; font-size: 13px; }
.restore-btn:hover { background: #e9ecef; }
.section-title { font-size: 15px; color: #4361EE; margin: 18px 0 8px 0; }
.response-toolbar { display: flex; gap: 10px; margin-bottom: 8px; }
.json-view { background: #f8f9fa; border-radius: 4px; border-left: 4px solid #4361EE; padding: 12px; font-family: 'Consolas', monospace; font-size: 14px; white-space: pre-wrap; max-width: 920px; max-height: 400px; overflow: auto; }

/* ========== 清理未用到的样式 ========== */
/* 移除 .response, .response pre, .error 相关样式（index.html未用到） */
/* 保留所有在index.html中出现的class和结构选择器 */ 